home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / javax / accessibility / AccessibleRelation.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  2.2 KB  |  73 lines

  1. package javax.accessibility;
  2.  
  3. public class AccessibleRelation extends AccessibleBundle {
  4.    private Object[] target = new Object[0];
  5.    public static final String LABEL_FOR = new String("labelFor");
  6.    public static final String LABELED_BY = new String("labeledBy");
  7.    public static final String MEMBER_OF = new String("memberOf");
  8.    public static final String CONTROLLER_FOR = new String("controllerFor");
  9.    public static final String CONTROLLED_BY = new String("controlledBy");
  10.    public static final String FLOWS_TO = "flowsTo";
  11.    public static final String FLOWS_FROM = "flowsFrom";
  12.    public static final String SUBWINDOW_OF = "subwindowOf";
  13.    public static final String PARENT_WINDOW_OF = "parentWindowOf";
  14.    public static final String EMBEDS = "embeds";
  15.    public static final String EMBEDDED_BY = "embeddedBy";
  16.    public static final String CHILD_NODE_OF = "childNodeOf";
  17.    public static final String LABEL_FOR_PROPERTY = "labelForProperty";
  18.    public static final String LABELED_BY_PROPERTY = "labeledByProperty";
  19.    public static final String MEMBER_OF_PROPERTY = "memberOfProperty";
  20.    public static final String CONTROLLER_FOR_PROPERTY = "controllerForProperty";
  21.    public static final String CONTROLLED_BY_PROPERTY = "controlledByProperty";
  22.    public static final String FLOWS_TO_PROPERTY = "flowsToProperty";
  23.    public static final String FLOWS_FROM_PROPERTY = "flowsFromProperty";
  24.    public static final String SUBWINDOW_OF_PROPERTY = "subwindowOfProperty";
  25.    public static final String PARENT_WINDOW_OF_PROPERTY = "parentWindowOfProperty";
  26.    public static final String EMBEDS_PROPERTY = "embedsProperty";
  27.    public static final String EMBEDDED_BY_PROPERTY = "embeddedByProperty";
  28.    public static final String CHILD_NODE_OF_PROPERTY = "childNodeOfProperty";
  29.  
  30.    public AccessibleRelation(String var1) {
  31.       this.key = var1;
  32.       this.target = null;
  33.    }
  34.  
  35.    public AccessibleRelation(String var1, Object var2) {
  36.       this.key = var1;
  37.       this.target = new Object[1];
  38.       this.target[0] = var2;
  39.    }
  40.  
  41.    public AccessibleRelation(String var1, Object[] var2) {
  42.       this.key = var1;
  43.       this.target = var2;
  44.    }
  45.  
  46.    public String getKey() {
  47.       return this.key;
  48.    }
  49.  
  50.    public Object[] getTarget() {
  51.       if (this.target == null) {
  52.          this.target = new Object[0];
  53.       }
  54.  
  55.       Object[] var1 = new Object[this.target.length];
  56.  
  57.       for(int var2 = 0; var2 < this.target.length; ++var2) {
  58.          var1[var2] = this.target[var2];
  59.       }
  60.  
  61.       return var1;
  62.    }
  63.  
  64.    public void setTarget(Object var1) {
  65.       this.target = new Object[1];
  66.       this.target[0] = var1;
  67.    }
  68.  
  69.    public void setTarget(Object[] var1) {
  70.       this.target = var1;
  71.    }
  72. }
  73.